$(function() {
	$('#thumbs a').modal();
	$('#login a').modal({
	callback: function() {
			$('a, form', $.modal.$content).modal();
		}
	});

	$('#slideshow_link a').modal(
			{
				callback: function() {
					$('.slideshow', $.modal.$content).slideshow();
				},
				width: 280,
				height: 435,
				urlSelector: '.slideshow, style'
			}
	);

	$('#login_form').hide();
	$('#login2 a').bind('click', function() {
		setTimeout(function() {
			$('#login_form').showDom({
				speed: 'slow',
				width: 300,
				height: 400,
				callback: function() {
					$('a, form', $.modal.$content).modal();
				}
			});
		}, 2000);
	});
});